package com.xbongbong.paas.pojo.vo;

import com.alibaba.fastjson.JSONArray;
import com.xbongbong.paas.toolbox.wrap.BaseVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 分类列表，简单数据
 * @author weiming
 * @time 2020-5-27
 */
@Getter
@Setter
@ToString
public class CategorySimpleListVO extends BaseVO {

    private static final long serialVersionUID = 8822957563307632404L;

    /**
     * 组织架构树
     * [{
     *  "value" : 1,
     *  "label" : "一级分类",
     *  "children" : [{
     *      "value" : 11,
     *      "label" : "二级分类1"
     *  },{
     *      "value" : 12,
     *      "label" : "二级分类2"
     *  }]
     * }]
     */
    private JSONArray categoryTree;

    /**
     * 公司id
     */
    private String corpid;
}
